/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package common.xmlObjects;

/**
 *
 * @author Richard Irons
 */
public class XMLAttribute {
    private String attribName;
    private String attribValue;

    public XMLAttribute() {
        attribName = "";
        attribValue = "";
    }

    public XMLAttribute(String attribName, String attribValue) {
        this.attribName = attribName;
        this.attribValue = attribValue;
    }

    @Override
    public String toString() {
        String attribs = "";
        attribs += " " + attribName + "=\"" + attribValue + "\"";
        return attribs;
    }

    public String getAttribName() {
        return attribName;
    }

    public void setAttribName(String attribName) {
        this.attribName = attribName;
    }

    public String getAttribValue() {
        return attribValue;
    }

    public void setAttribValue(String attribValue) {
        this.attribValue = attribValue;
    }
}